/**
 * Copyright (c) 2017-2017 All Rights Reserved.
 */
package com.zbest.zpay.paycore.helper;

import org.springframework.stereotype.Service;

import com.zbest.zpay.service.paycore.model.PayInfoDTO;
import com.zbest.zpay.service.paycore.model.PayType;

/**
 * 
 *
 * @author Administrator
 * @version $Id: ProcessFlowManager.java, v 0.1 2017-4-23 下午7:29:43 Administrator Exp $
 */
@Service("processFlowManager")
public class ProcessFlowManager {

    public String route(PayInfoDTO request) {
        if (request.getPayType() == PayType.DEPOSIT) {
            return "pay";
        }
        return null;
    }
}
